// 快件相关接口
import http from "../common/http.js";

export default {
	// 下级店铺
	shop: (data,needLoading) => {
		return http.POST('/agency/lower-level-shop', data,needLoading) 
	},
	//续费订单
	renew: (data,needLoading) => {
		return http.POST('/agency/store-re-order', data,needLoading) 
	},
	//提现
	withdraw:(data,needLoading) => {
		return http.POST('/merchant/apply', data,needLoading) 
	},
	//佣金明细
	commission:(data,needLoading) => {
		return http.POST('/agency/commission', data,needLoading) 
	},
	//提现记录
	withdrawLog:(data,needLoading) => {
		return http.POST('/merchant/apply', data,needLoading) 
	},
	//店铺订单
	order:(data,needLoading) => {
		return http.POST('/agency/shop-order', data,needLoading)
	},
	//sass代理配置
	config:(data,needLoading) => {
		return http.POST('/agency/agency-config', data,needLoading)
	},
}